<?php
namespace app\home\controller;

use app\home\model\Recommend;

class Api
{
    public function search_tips()
    {
        //获取搜索关键字
        $searchKeyWordList = Recommend::getKeywordList(1,10);
        $data['expire']=time();
        $data['data']['list']=$searchKeyWordList;
        $data['data']['rank']=true;
        return json($data,0);
    }

}
